package com.imooc.dataobject.VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * 返回给前段的数据
 * @param
 * @author 开拓者
 * @date 2018/01/17
 *
 */
@Data
public class RequestVO <T>{
    /**结果码**/
    @JsonProperty("code")
    private String  returnCode;
    /**结果信息**/
    @JsonProperty("msg")
    private String  returnMsg;
    /**结果数据**/
    @JsonProperty("data")
    private List<ProductCategoryVO> data;

    public String getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    public String getReturnMsg() {
        return returnMsg;
    }

    public void setReturnMsg(String returnMsg) {
        this.returnMsg = returnMsg;
    }

    public List<ProductCategoryVO> getData() {
        return data;
    }

    public void setData(List<ProductCategoryVO> data) {
        this.data = data;
    }
}
